package com.download.web.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.download.backstage.entity.Dictionary;
import com.download.web.entity.BusDicItem;
import com.baomidou.mybatisplus.extension.service.IService;
import com.download.web.entity.model.Page;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cmy
 * @since 2019-02-20
 */
public interface IBusDicItemService extends IService<BusDicItem> {

    Page<Dictionary> dictionaryPage(Integer pageIndex,Integer pageSize);

    /**
     * 按字典id查找字典项
     * @param dictId
     * @return
     */
    List<BusDicItem> itemsByDictId(Integer dictId);
    List<String> itemValues(Integer dictId);
}
